package com.interview.one.model;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "order_info")
public class OrderInfo {
    @Id
    private Integer id;

    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "pay_type")
    private Integer payType;

    @Column(name = "ship_id")
    private Integer shipId;

    @Column(name = "total_price")
    private Integer totalPrice;

    @Column(name = "order_status")
    private Integer orderStatus;
}